<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title></title>
	</head>
	<link type="text/css" rel="stylesheet" href="<s:url value='/script/plugins/alert/jquery.alerts.css'/>"></link>
<script type="text/javascript" src="<s:url value='/js/jquery-1.9.1.min.js'/>"></script>
	<SCRIPT type="text/javascript" src="<s:url value='/script/plugins/jqueryui/jquery-ui-latest.js'/>"></SCRIPT>
	<script type="text/javascript" src="<s:url value='/script/plugins/alert/jquery.alerts.js'/>"></script>
	<script type="text/javascript" src="<s:url value='/script/plugins/menu/js/jquery.bgiframe.min.js'/>"></script>
	<body>
		  <div style="display:none"><%=UUID.randomUUID().toString()%></div>
		<script language="JavaScript">
			var w = getTopWindow(window,5);
			jAlert('您当前的会话已经超时，请重新登录！','提示',function(){w.location.href = '<s:url value="/"/>';});
			function getTopWindow(win, num) {
				
				if (num < 0) {
					return win;
				}
				num--;
				if (win.opener != null) {
					win = getTopWindow(win.opener, num);
				} else if (win.parent != null) {
					win = getTopWindow(win.parent, num);
				}
				return win;
			}
		</script>
	</body>
</html>
